﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Kokomo.Mirror.CliMetadata.Signatures
{
	public class LocalVariableSignature : Signature
	{
		public LocalVariableSignature()
		{
		}

		public VariableSignature[] variables;

		public override bool Equals(object obj)
		{
			LocalVariableSignature other = obj as LocalVariableSignature;
			if (other == null) return false;

			bool equals =
				(this.variables != null)
				&& (other.variables != null)
				&& (this.variables.SequenceEqual(other.variables))
				;
			return equals;
		}
	}
}
